from appium.webdriver.common.mobileby import MobileBy

from app.base_page import BasePage
from app.editormember_page import EditMemberPage


class PersonalInfo(BasePage):
    def goto_delemember(self):
        self.find_and_click(MobileBy.XPATH,"//*[@resource-id='com.tencent.wework:id/guk']")
        self.find_and_click(MobileBy.XPATH,"//*[@text='编辑成员']")
        return EditMemberPage(self.driver)